package cn.bigcontainer.alt.b2c.be;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import cn.bigcontainer.alt.AltApp;
import cn.bigcontainer.alt.cms.CmsConfig;
import cn.bigcontainer.alt.common.util.WoKit;

/**
 * @author jiaod
 */
@SpringBootApplication
@MapperScan({"cn.bigcontainer.alt.b2c.be.mapper"})
public class BeApp {

	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(new Class<?>[] {AltApp.class, CmsConfig.class, BeApp.class}, args);
        WoKit.setApplicationContext(context);
	}
}
